<?xml version="1.0" encoding="utf-8" ?>
<REPLACEMENT_SYSTEM>
	<!-- INPUTS section describes all inputs which can control selection of replacement items -->
	<INPUTS>
		<INPUT NAME="LIVERY" OPTIONS="2" />
	</INPUTS>

	<NAMES INPUT ="LIVERY">
		<NAME LIVERY="51" NAME="Livery 1" />
		<NAME LIVERY="52" NAME="Livery 2" />
	</NAMES>

	<!-- DEPENDENCY section describes inputs which depend on each other in that only some combinations are permitted -->
	<!-- this will only be used in game for the menu system, and in the editor -->

	<!-- CONDITION sections define what to replace and when to replace it		-->
	<!-- They are used in the same way for all situations				-->
	
	<!-- Simple case - exterior paint effecting two materials -->

	<CONDITION LIVERY="51">
		<REPLACE MATERIAL="BMW_M3_GTR_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\livery_ford_gt1_040_hr.mtx" />
		<REPLACE MATERIAL="BMW_M3_E46_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\livery_ford_gt1_040_hr.mtx" />
		<REPLACE MATERIAL="BMW_M3_E46_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\livery_ford_gt1_040_hr_skin.mtx" />
		<REPLACE TEXTURE="FORD_GT1_LIVERY03_HR.dds" NEWTEXTURE="BMW_M3_GTR_LIVERY01_HR.dds" />
		<REPLACE TEXTURE="COMMON_BODY_DIRT_DIFFUSE.dds" NEWTEXTURE="COMMON_BODY_DIRTONLY_DIFFUSE.dds" />
	</CONDITION>

	<CONDITION LIVERY="52">
		<REPLACE MATERIAL="BMW_M3_GTR_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_lamborghini_grigio_barra.mtx" />
		<REPLACE MATERIAL="BMW_M3_E46_PAINT" NEWMATERIAL="Vehicles\_Paint_Colors\paint_lamborghini_grigio_barra.mtx" />
		<REPLACE MATERIAL="BMW_M3_E46_PAINT_SKIN" NEWMATERIAL="Vehicles\_Paint_Colors\paint_lamborghini_grigio_barra_skin.mtx" />
		<REPLACE TEXTURE="PAINT_LAMBORGHINI_GRIGIO_BARRA.dds" NEWTEXTURE="BMW_M3_GTR_LIVERY06_HR.dds" />
		<REPLACE TEXTURE="COMMON_BODY_DIRT_DIFFUSE.dds" NEWTEXTURE="COMMON_BODY_DIRTONLY_DIFFUSE.dds" />
		<REPLACE TEXTURE="BMW_M3_GTR_WHEEL_SPECULAR_00.dds" NEWTEXTURE="BMW_M3_GTR_WHEEL_SPECULAR_10.dds" />
		<REPLACE TEXTURE="BMW_M3_GTR_WHEEL_SPECULAR_01.dds" NEWTEXTURE="BMW_M3_GTR_WHEEL_SPECULAR_11.dds" />
	</CONDITION>

</REPLACEMENT_SYSTEM>
